home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 57.zip
/
BS1 part 57
/
Pro-net personal v2.0 d1.adf
/
ins
< prev
next >
Wrap
Text File
|
1990-05-11
|
7KB
|
208 lines
. ins
.key DNAME
. Install PRO-NET_P to hard disk
. Usage: execute ins <HARD DISK NAME>
IF NOT EXISTS <DNAME>
ECHO "<DNAME> not found!"
QUIT
ENDIF
FAILAT 31
CD <DNAME>
CD >NIL: /
IF FAIL
ECHO "<DNAME> is a Disk."
SKIP TO_PRONET_P
;
; Send to <DNAME>PRO-NET_P routine
;
ELSE
ECHO "<DNAME> is a Volume."
SKIP TO_ROOT
;
; Send to <DNAME> routine
;
ENDIF
LAB TO_PRONET_P
IF exists <DNAME>PRO-NET_P
ECHO "UPDATING PRO-NET_P"
COPY "PRO-NET_P:#?" <DNAME>PRO-NET_P
COPY "PRO-NET_P:PNPDRAWER" TO <DNAME>PRO-NET_P.info
DELETE <DNAME>PRO-NET_P/PNPDRAWER
IF NOT exists <DNAME>PRO-NET_P/PNLIB
SKIP MAKED
endif
ECHO "The Device and Symbol libraries already exist."
ECHO "If you wish to install your library disk, enter these commands:"
ECHO " "
ECHO "EXECUTE PRO-NET_P:MERGE_LIBRARIES source_drive destination_drive"
ECHO " "
QUIT
endif
ECHO "INSTALLING PRO-NET_P"
MAKEDIR <DNAME>PRO-NET_P
COPY "PRO-NET_P:#?" <DNAME>PRO-NET_P
COPY "PRO-NET_P:PNPDRAWER" TO <DNAME>PRO-NET_P.info
DELETE <DNAME>PRO-NET_P/PNPDRAWER
LAB MAKED
ECHO "MAKING DIRECTORIES"
MAKEDIR <DNAME>PRO-NET_P/PNPOST
MAKEDIR <DNAME>PRO-NET_P/PNDIR
MAKEDIR <DNAME>PRO-NET_P/PNLIB
MAKEDIR <DNAME>PRO-NET_P/PNLIB/TTL
MAKEDIR <DNAME>PRO-NET_P/PNLIB/MOS
MAKEDIR <DNAME>PRO-NET_P/PNLIB/VLSI
MAKEDIR <DNAME>PRO-NET_P/PNLIB/ECL
MAKEDIR <DNAME>PRO-NET_P/PNLIB/Analog
MAKEDIR <DNAME>PRO-NET_P/PNLIB/Discrete
MAKEDIR <DNAME>PRO-NET_P/PNLIB/MTTL
MAKEDIR <DNAME>PRO-NET_P/PNLIB/User
MAKEDIR <DNAME>PRO-NET_P/PNLIB/Symbol
MAKEDIR <DNAME>PRO-NET_P/PNLIB/schem
COPY PRO-NET_P:PNLIB/schem TO <DNAME>PRO-NET_P/PNLIB/schem
LAB MERGE
ECHO "COPYING LIBRARIES"
ECHO " "
ECHO "Please insert 1st. library disk in df0:"
ASK "Hit 'Y' and 'RETURN' when ready"
IF warn
. The 2nd. lib disk may need be merged with the 1st. lib disk
RAM:MERGELIB DF0:PNDIR/TTL <DNAME>PRO-NET_P/PNDIR/TTL
RAM:MERGELIB DF0:PNDIR/MTTL <DNAME>PRO-NET_P/PNDIR/MTTL
RAM:MERGELIB DF0:PNDIR/VLSI <DNAME>PRO-NET_P/PNDIR/VLSI
RAM:MERGELIB DF0:PNDIR/ECL <DNAME>PRO-NET_P/PNDIR/ECL
RAM:MERGELIB DF0:PNDIR/Analog <DNAME>PRO-NET_P/PNDIR/Analog
RAM:MERGELIB DF0:PNDIR/Discrete <DNAME>PRO-NET_P/PNDIR/Discrete
RAM:MERGELIB DF0:PNDIR/user <DNAME>PRO-NET_P/PNDIR/User
RAM:MERGELIB DF0:PNDIR/schem <DNAME>PRO-NET_P/PNDIR/schem
RAM:MERGELIB DF0:PNDIR/Symbol <DNAME>PRO-NET_P/PNDIR/Symbol
RAM:MERGELIB DF0:PNDIR/MOS <DNAME>PRO-NET_P/PNDIR/MOS
endif
ECHO " "
ECHO "Please insert 2nd. library disk in df0:"
ASK "Hit 'Y' and 'RETURN' when ready"
IF warn
RAM:MERGELIB DF0:PNDIR/TTL <DNAME>PRO-NET_P/PNDIR/TTL
RAM:MERGELIB DF0:PNDIR/MTTL <DNAME>PRO-NET_P/PNDIR/MTTL
RAM:MERGELIB DF0:PNDIR/VLSI <DNAME>PRO-NET_P/PNDIR/VLSI
RAM:MERGELIB DF0:PNDIR/ECL <DNAME>PRO-NET_P/PNDIR/ECL
RAM:MERGELIB DF0:PNDIR/Analog <DNAME>PRO-NET_P/PNDIR/Analog
RAM:MERGELIB DF0:PNDIR/Discrete <DNAME>PRO-NET_P/PNDIR/Discrete
RAM:MERGELIB DF0:PNDIR/user <DNAME>PRO-NET_P/PNDIR/User
RAM:MERGELIB DF0:PNDIR/schem <DNAME>PRO-NET_P/PNDIR/schem
RAM:MERGELIB DF0:PNDIR/Symbol <DNAME>PRO-NET_P/PNDIR/Symbol
RAM:MERGELIB DF0:PNDIR/MOS <DNAME>PRO-NET_P/PNDIR/MOS
endif
ECHO " "
ECHO "Please insert 3rd. library disk in df0:"
ASK "Hit 'Y' and 'RETURN' when ready"
IF warn
RAM:MERGELIB DF0:PNDIR/TTL <DNAME>PRO-NET_P/PNDIR/TTL
RAM:MERGELIB DF0:PNDIR/MTTL <DNAME>PRO-NET_P/PNDIR/MTTL
RAM:MERGELIB DF0:PNDIR/VLSI <DNAME>PRO-NET_P/PNDIR/VLSI
RAM:MERGELIB DF0:PNDIR/ECL <DNAME>PRO-NET_P/PNDIR/ECL
RAM:MERGELIB DF0:PNDIR/Analog <DNAME>PRO-NET_P/PNDIR/Analog
RAM:MERGELIB DF0:PNDIR/Discrete <DNAME>PRO-NET_P/PNDIR/Discrete
RAM:MERGELIB DF0:PNDIR/user <DNAME>PRO-NET_P/PNDIR/User
RAM:MERGELIB DF0:PNDIR/schem <DNAME>PRO-NET_P/PNDIR/schem
RAM:MERGELIB DF0:PNDIR/Symbol <DNAME>PRO-NET_P/PNDIR/Symbol
RAM:MERGELIB DF0:PNDIR/MOS <DNAME>PRO-NET_P/PNDIR/MOS
endif
ECHO " "
ECHO "If you have more library disks to install, Please enter this command:"
ECHO " "
ECHO "EXECUTE PRO-NET_P:MERGE_LIBRARIES source_drive destination_drive"
ECHO " "
QUIT
LAB TO_ROOT
IF exists <DNAME>PRO-NET_P
ECHO "UPDATING PRO-NET_P"
COPY "PRO-NET_P:#?" <DNAME>
DELETE <DNAME>PNPDRAWER
IF NOT exists <DNAME>PNLIB
SKIP MAKED1
endif
ECHO "The Device and Symbol libraries already exist."
ECHO "If you wish to install your library disk, enter these commands:"
ECHO " "
ECHO "EXECUTE PRO-NET_P:MERGE_LIBRARIES source_drive destination_drive"
ECHO " "
QUIT
endif
ECHO "INSTALLING PRO-NET_P"
IF NOT EXISTS <DNAME>
MAKEDIR <DNAME>
endif
COPY "PRO-NET_P:#?" <DNAME>
DELETE <DNAME>PNPDRAWER
LAB MAKED1
ECHO "MAKING DIRECTORIES"
MAKEDIR <DNAME>PNPOST
MAKEDIR <DNAME>PNDIR
MAKEDIR <DNAME>PNLIB
MAKEDIR <DNAME>PNLIB/TTL
MAKEDIR <DNAME>PNLIB/MOS
MAKEDIR <DNAME>PNLIB/VLSI
MAKEDIR <DNAME>PNLIB/ECL
MAKEDIR <DNAME>PNLIB/Analog
MAKEDIR <DNAME>PNLIB/Discrete
MAKEDIR <DNAME>PNLIB/MTTL
MAKEDIR <DNAME>PNLIB/User
MAKEDIR <DNAME>PNLIB/Symbol
MAKEDIR <DNAME>PNLIB/schem
LAB MERGE
ECHO "COPYING LIBRARIES"
ECHO " "
ECHO "Please insert 1st. library disk in df0:"
ASK "Hit 'Y' and 'RETURN' when ready"
IF warn
. The 2nd. lib disk may need be merged with the 1st. lib disk
RAM:MERGELIB DF0:PNDIR/TTL <DNAME>PNDIR/TTL
RAM:MERGELIB DF0:PNDIR/MTTL <DNAME>PNDIR/MTTL
RAM:MERGELIB DF0:PNDIR/VLSI <DNAME>PNDIR/VLSI
RAM:MERGELIB DF0:PNDIR/ECL <DNAME>PNDIR/ECL
RAM:MERGELIB DF0:PNDIR/Analog <DNAME>PNDIR/Analog
RAM:MERGELIB DF0:PNDIR/Discrete <DNAME>PNDIR/Discrete
RAM:MERGELIB DF0:PNDIR/user <DNAME>PNDIR/User
RAM:MERGELIB DF0:PNDIR/schem <DNAME>PNDIR/schem
RAM:MERGELIB DF0:PNDIR/Symbol <DNAME>PNDIR/Symbol
RAM:MERGELIB DF0:PNDIR/MOS <DNAME>PNDIR/MOS
endif
ECHO " "
ECHO "Please insert 2nd. library disk in df0:"
ASK "Hit 'Y' and 'RETURN' when ready"
IF warn
RAM:MERGELIB DF0:PNDIR/TTL <DNAME>PNDIR/TTL
RAM:MERGELIB DF0:PNDIR/MTTL <DNAME>PNDIR/MTTL
RAM:MERGELIB DF0:PNDIR/VLSI <DNAME>PNDIR/VLSI
RAM:MERGELIB DF0:PNDIR/ECL <DNAME>PNDIR/ECL
RAM:MERGELIB DF0:PNDIR/Analog <DNAME>PNDIR/Analog
RAM:MERGELIB DF0:PNDIR/Discrete <DNAME>PNDIR/Discrete
RAM:MERGELIB DF0:PNDIR/user <DNAME>PNDIR/User
RAM:MERGELIB DF0:PNDIR/schem <DNAME>PNDIR/schem
RAM:MERGELIB DF0:PNDIR/Symbol <DNAME>PNDIR/Symbol
RAM:MERGELIB DF0:PNDIR/MOS <DNAME>PNDIR/MOS
endif
ECHO " "
ECHO "Please insert 3rd. library disk in df0:"
ASK "Hit 'Y' and 'RETURN' when ready"
IF warn
RAM:MERGELIB DF0:PNDIR/TTL <DNAME>PNDIR/TTL
RAM:MERGELIB DF0:PNDIR/MTTL <DNAME>PNDIR/MTTL
RAM:MERGELIB DF0:PNDIR/VLSI <DNAME>PNDIR/VLSI
RAM:MERGELIB DF0:PNDIR/ECL <DNAME>PNDIR/ECL
RAM:MERGELIB DF0:PNDIR/Analog <DNAME>PNDIR/Analog
RAM:MERGELIB DF0:PNDIR/Discrete <DNAME>PNDIR/Discrete
RAM:MERGELIB DF0:PNDIR/user <DNAME>PNDIR/User
RAM:MERGELIB DF0:PNDIR/schem <DNAME>PNDIR/schem
RAM:MERGELIB DF0:PNDIR/Symbol <DNAME>PNDIR/Symbol
RAM:MERGELIB DF0:PNDIR/MOS <DNAME>PNDIR/MOS
endif
ECHO " "
ECHO "If you have more library disks to install, Please enter this command:"
ECHO " "
ECHO "EXECUTE PRO-NET_P:MERGE_LIBRARIES source_drive destination_drive"
ECHO " "
QUIT